<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags" %>

  <div class="container">
  		<h3>
  			功能列表
  		</h3>	
  		<!--操作按钮  -->
  		<div class="btndiv">
  			<input type="hidden" id="roleid" value="<s:property value="roleId"/>"/>
  			<input type="button" value="保存" id="saverolefunc" />
  			<input type="button" value="取消" id="cancle" />
  		</div>
  		
  		<!--功能列表 -->
  		<table>
  			<thead>
  				<tr>
  					<th><input type="checkbox" id="checkall" />全选/全不选</th>
  					<th>功能名称</th>
  					<th>功能Url</th>
  					<th>创建时间</th>
  					<th>是否启用</th>
  				</tr>
  			</thead>
  			<tbody>
  				<s:iterator value="functionList">
  					<tr>
  						<td> <!-- 多选框回显 -->
  						<s:if test="checked">
  							<input type="checkbox" class="checkthis" checked="checked" value="<s:property value="id"/>"/> 
  						</s:if>
  						<s:else>
  						<input type="checkbox" class="checkthis"  value="<s:property value="id"/>"/> 
  						</s:else>
  						
  						</td>
  						<td><s:property value="functionName"/></td>
  						<td><s:property value="funcUrl"/></td>
  						<td><s:date name="creationTime" format="yyyy-MM-dd HH:mm:ss"/></td>
  						<td>
  						<s:if test="isStart==1">启用</s:if><s:else>停用</s:else>
  						</td>
  					</tr>
  				</s:iterator>
  			</tbody>
  		</table>
  		
  	</div>
  	<link rel="stylesheet" type="text/css" href="/css/public.css">
	<link rel="stylesheet" type="text/css" href="/css/main.css">
	<link rel="stylesheet" type="text/css" href="/css/functionlist.css">
	<script type="text/javascript" src="/js/jquery-1.7.2.min.js"></script>
	<script type="text/javascript" src="/js/functionlist.js"></script>
	<link id='theme' rel='stylesheet' href='/humane/themes/original.css'/>
    <script src='/humane/humane.js'></script>
	<!-- 要先导入jq 才能是后面的jq有效<script type="text/javascript" src="/js/jquery-1.7.2.min.js"></script>  -->
	
	
    
    